import { getReq } from '@/utils/axios'

/**
 * 获取推荐歌单
 * @param id 
 * @returns 
 */
export function song(id: number){
  return getReq({
    url: '/song/url',
    params: {
      id
    }
  })
}

export function detail(ids: number[]){
  return getReq({
    url: '/song/detail',
    params: {
      ids: ids.join(',')
    }
  })
}